package io.zerax.moyu_chat.core;

import java.net.DatagramSocket;
import java.net.SocketException;

public class Client
{
    private DatagramSocket socket;
	
	public Client() throws SocketException {
		this(0);
	}
	
	public Client(int port) throws SocketException {
		socket = new DatagramSocket(port);
	}
	
	public DatagramSocket socket() {
		return socket;
	}
}
